/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author chris
 */
import java.io.*;

public class PngGifFileFilter extends javax.swing.filechooser.FileFilter{
  public boolean accept(File f){
        return f.isDirectory() || f.getName().toLowerCase().endsWith(".gif") || 
                f.getName().toLowerCase().endsWith(".png"); 
    }
    public String getDescription(){
        return ".PNG, .GIF";
    }
}
